package com.hefei.hight.annotation;

import java.lang.annotation.*;

/**
 * @author caizhengjun
 * @date 2020/9/5 1:53 下午
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
public @interface AgeValidator {
    int min() default 1;

    int max() default 99;
}
